package com.xgx.distqcp.Controller;

import com.jfinal.core.ActionKey;
//import com.xgx.distqcp.Domain.Model.Oracle.XSJBXXB;
//import com.xgx.distqcp.Domain.Model.Oracle.YHB;
import com.xgx.distqcp.Domain.Model.Oracle.Xsjbxxb;
import com.xgx.distqcp.Domain.Model.Oracle.Yhb;
import io.jboot.web.controller.JbootController;
import io.jboot.web.controller.annotation.RequestMapping;

@RequestMapping("/getoracle")
public class GetOracleController extends JbootController{

    public void getyhm(){

        Yhb yhb=new Yhb();
        yhb=yhb.use("oracle").findById("030546");
        renderJson(yhb);

    }
    public void getxs(){

        Xsjbxxb xsjbxxb=new Xsjbxxb();
        xsjbxxb=xsjbxxb.use("oracle").findById("1405090205");
        renderJson(xsjbxxb);


    }

}
